<?php /* Smarty version 2.6.26, created on 2012-05-12 14:59:47
         compiled from blocks%5Cbread_crumbs.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'strip_tags', 'blocks\\bread_crumbs.tpl', 10, false),)), $this); ?>
<!-- bread crumbs block -->

<ul id="bread_crumbs">
	<li class="home"><a href="<?php echo $this->_tpl_vars['rlBase']; ?>
"><span>&nbsp;</span></a></li>
	
	<?php $_from = $this->_tpl_vars['bread_crumbs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['fBreadC'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['fBreadC']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['breadCrumbs']):
        $this->_foreach['fBreadC']['iteration']++;
?>
	<?php if (! ($this->_foreach['fBreadC']['iteration'] <= 1)): ?>
		<li>
		<?php if (($this->_foreach['fBreadC']['iteration'] == $this->_foreach['fBreadC']['total'])): ?>
			<span title="<?php echo ((is_array($_tmp=$this->_tpl_vars['breadCrumbs']['title'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
"><?php if (! empty ( $this->_tpl_vars['breadCrumbs']['name'] )): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['breadCrumbs']['name'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['breadCrumbs']['title'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
<?php endif; ?></span>
		<?php else: ?>
			<a href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php if ($this->_tpl_vars['breadCrumbs']['path'] != ''): ?><?php echo $this->_tpl_vars['breadCrumbs']['path']; ?>
<?php if ($this->_tpl_vars['breadCrumbs']['category']): ?><?php if ($this->_tpl_vars['type_info']['Cat_postfix']): ?>.html<?php else: ?>/<?php endif; ?><?php else: ?>.html<?php endif; ?><?php endif; ?><?php if ($this->_tpl_vars['breadCrumbs']['vars']): ?>?<?php echo $this->_tpl_vars['breadCrumbs']['vars']; ?>
<?php endif; ?><?php else: ?><?php if ($this->_tpl_vars['breadCrumbs']['path'] != ''): ?>?page=<?php echo $this->_tpl_vars['breadCrumbs']['path']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['breadCrumbs']['vars']): ?>&amp;<?php echo $this->_tpl_vars['breadCrumbs']['vars']; ?>
<?php endif; ?><?php endif; ?>" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['breadCrumbs']['title'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['breadCrumbs']['name'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
</a>
		<?php endif; ?>
		</li>
	<?php endif; ?>
	<?php endforeach; endif; unset($_from); ?>
</ul>

<!-- bread crumbs block end -->